<img class="widget" id="{{ include.name }}widget" src="/images/widgets/{{ include.name }}-light.png" />

<script>
$("#{{ include.name }}widget").one("load", function() {
    newWidth = this.width / 2 + "px";
    this.style.width = newWidth;
    this.style.height = "auto";
});

</script>
